﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WCFMastering.Services
{
    public class ScientificCalculator:SimpleCalculator, WCFMastering.Contracts.IScientificCalculator
    {
        #region IScientificCalculator Members

        public int Multiply(int arg1, int arg2)
        {
            return arg1 * arg2;
        }

        #endregion

        #region ISimpleCalculator Members

        public int Add(int arg1, int arg2)
        {
            return arg1 + arg2;
        }

        public double Add(double arg1, double arg2)
        {
            return arg1 + arg2;
        }

        #endregion
    }
}
